package com.coocaa.ops.common.core.base.model;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author tangminghong
 * @date 2020-06-10
 */
@Data
@NoArgsConstructor
public class SimpleSysUserInfo {

    /**
     * 用户ID
     */
    private Integer userId;
    /**
     * 用户名称
     */
    private String userName;
    /**
     * 用户角色
     */
    private List<Integer> roles;

    private Integer superAdmin;

    public SimpleSysUserInfo(Integer userId, String userName) {
        this.userId = userId;
        this.userName = userName;
    }
}
